package com.powersystem.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author linrongji
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PS_INSPECTIONTASK_DETAIL")
public class PsInspectiontaskDetail extends Model<PsInspectiontaskDetail> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("TASKID")
    private Long taskid;

    @TableField("POLEID")
    private Long poleid;

    @TableField("POLECODE")
    private String polecode;

    @TableField("LINECODE")
    private String linecode;

    @TableField("LINENAME")
    private String linename;

    @TableField("ISBUG")
    private Integer isbug;

    @TableField("INTACTRATE")
    private Double intactrate;

    @TableField("BUGLEVEL")
    private Long buglevel;

    @TableField("BUGLEVELNAME")
    private String buglevelname;

    @TableField("BUGTYPE")
    private Long bugtype;

    @TableField("BUGTYPENAME")
    private String bugtypename;

    @TableField("BUGDESC")
    private String bugdesc;

    @TableField("DISCOVERERCODE")
    private String discoverercode;

    @TableField("DISCOVERERNAME")
    private String discoverername;

    @TableField("DISCOVERTIME")
    private LocalDateTime discovertime;

    @TableField("ISSOLVE")
    private Integer issolve;

    @TableField("INSPECTTIME")
    private LocalDateTime inspecttime;

    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    @TableField("CREATEDBY")
    private String createdby;

    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
